package com.ruoyi.project.cms.task.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

public class Task extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 任务Id */
    private Integer id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    /** 销售物品id */
    @Excel(name = "销售物品id")
    private Integer saleNameId;
    /** 销售物品名 */
    @Excel(name = "销售物品名")
    private String name;
    /** 任务创建时间 */
    @Excel(name = "任务创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 任务类容 */
    @Excel(name = "任务类容")
    private String content;

    /** 任务执行数量 */
    @Excel(name = "任务执行数量")
    private Integer number;

    /** 批复人 */
    @Excel(name = "批复人")
    private String approvalpeople;

    /** 批复时间 */
    @Excel(name = "批复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date approvaltime;

    /** 同意批复，不同意 */
    @Excel(name = "同意批复，不同意")
    private String agreeornot;

    /** 任务意见 */
    @Excel(name = "任务意见")
    private String opinion;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSaleNameId() {
        return saleNameId;
    }

    public void setSaleNameId(Integer saleNameId) {
        this.saleNameId = saleNameId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getApprovalpeople() {
        return approvalpeople;
    }

    public void setApprovalpeople(String approvalpeople) {
        this.approvalpeople = approvalpeople;
    }

    public Date getApprovaltime() {
        return approvaltime;
    }

    public void setApprovaltime(Date approvaltime) {
        this.approvaltime = approvaltime;
    }

    public String getAgreeornot() {
        return agreeornot;
    }

    public void setAgreeornot(String agreeornot) {
        this.agreeornot = agreeornot;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", saleNameId=" + saleNameId +
                ", name='" + name + '\'' +
                ", creatTime=" + creatTime +
                ", content='" + content + '\'' +
                ", number=" + number +
                ", approvalpeople='" + approvalpeople + '\'' +
                ", approvaltime=" + approvaltime +
                ", agreeornot='" + agreeornot + '\'' +
                ", opinion='" + opinion + '\'' +
                '}';
    }
}
